﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="lobby.aspx.vb" Inherits="projectBiome.lobby" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="ghanaStylin.css" />

</head>
<body>
    <div id="header">
        <center>
        <br />
            <h1> Project Educational Game</h1>
        </center>
        <br />
    </div>

    <form id="form1" runat="server">
    <div id="content">
    <div id="lobbyContent">
    <br />
    This is totally the area where all of the controls go! Yea, you pick that game! Ooooooooooh join my lobby! Look at alllll thoooose matches.<br />
    Welcome &nbsp; <asp:Label ID="lblpseudonym" runat="server"></asp:Label>!
    <br /><br />
    <asp:DropDownList id="ddlGameType" runat="server"  AppendDataBoundItems="true" AutoPostBack="true">
    <asp:ListItem>--Select Game--</asp:ListItem></asp:DropDownList>
   
    <div id="gridview1">   
        <asp:GridView ID="gvMatches"  runat="server" Visible="false" 
            AutoGenerateColumns="False" _
         
            style="z-index: 1;  height: 133px; width: 340px; margin-right: 0px;">
        <Columns>
            <asp:BoundField DataField="MatchID" HeaderText="MatchID" />
            <asp:BoundField HeaderText="NumberOfPlayers" />
            <asp:TemplateField HeaderText="Join Match">
                <ItemTemplate>
                    <asp:CheckBox ID="chkSelectGame" runat="server" />
                    <!--<asp:CheckBox runat="server" id="chkSelectMatch" />-->
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView><br />

        <asp:Button ID="btnJoin" runat="server" Text="Join Selected Game" /><br /><br />
        <asp:Button ID="btnBackToMenu" runat="server" Text="Main Menu" />
       </div>
       </div>
       </div>
    </form>
   
</body>
</html>
